package com.hsh.maoduo.constant.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class GlobalPathConstants {
    /**
     * 文件后缀名.xls
     */
    public static final String XLSX_SUF = ".xlsx";

    /**
     * 文件后缀名.xls
     */
    public static final String XLS_SUF = ".xls";

    /**
     * 猫朵共享文件夹 路径前缀
     */
    @Value("${path.global}")
    public  String maoduoPathPre;
    public static  String MAO_DUO_PATH_PRE ;
    @PostConstruct
    public void init(){
        GlobalPathConstants.MAO_DUO_PATH_PRE = maoduoPathPre;
    }


}
